package com.yycx.module.bus.client.entity.hy;

import com.baomidou.mybatisplus.annotation.TableName;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.yycx.common.mybatis.annotation.TableAlias;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * 政策文件表
 *
 * @author flyme
 * @date 2023-07-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_policy_file")
@TableAlias("bpf")
@ApiModel(value = "BusPolicyFile对象", description = "政策文件表")
public class BusPolicyFile extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "policyFileId", type = IdType.ASSIGN_ID)
    private Long policyFileId;

    @ApiModelProperty(value = "标题")
    private String policyTitle;

    @ApiModelProperty(value = "部门")
    private String deptId;

    @ApiModelProperty(value = "业务范围")
    private String businessScope;

    @ApiModelProperty(value = "开始日期")
    private Date beginDate;

    @ApiModelProperty(value = "结束日期")
    private Date endDate;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "制定人")
    private Long userId;

    @ApiModelProperty(value = "申请日期")
    private Date applyDate;

    @ApiModelProperty(value = "政策原件路径")
    private String filePath;

    @ApiModelProperty(value = "备注")
    private String remark;

}
